Authenticating Mountain Lion over Ubuntu 12 LDAP [closed]

Posted by Sam Hammamy on Server Fault See other posts from Server Fault or by Sam Hammamy
Published on 2012-09-16T05:12:21Z Indexed on 2012/09/18 3:40 UTC
Read the original article Hit count: 521

Filed under:
|

Possible Duplicate:
Ubuntu OpenLDAP and Mac OS X Roaming Profiles

I've installed slapd on Ubuntu 12 after a long long day of trial and error. I've added the apple.ldif schema, and the samba.ldif schema, plus a test user.

Last week, I had installed slapd on Ubuntu 11, and was able to authenticate against it from OS X Lion after finding the following blog post: Fixing OpenLDAP Authentication on OS X Lion

This suggests running the following commands to fix the authentication problem

/usr/libexec/PlistBuddy -c "add ':module options:ldap:Denied SASL Methods:' string CRAM-MD5" /Library/Preferences/OpenDirectory/Configurations/LDAPv3/yourldapserver.plist
/usr/libexec/PlistBuddy -c "add ':module options:ldap:Denied SASL Methods:' string NTLM" /Library/Preferences/OpenDirectory/Configurations/LDAPv3/yourldapserver.plist
/usr/libexec/PlistBuddy -c "add ':module options:ldap:Denied SASL Methods:' string GSSAPI" /Library/Preferences/OpenDirectory/Configurations/LDAPv3/yourldapserver.plist

However, I ran these commands on OS X Mountain Lion, and I am still unable to authenticate. I can't even use the Directory Editor app to examine the AD. I am however able to bind to the server via python-ldap's ldap.simple_bind_s('cn=admin,dc=foo,dc=net,'secret').

The error I am getting when trying to use Director Editor is

Error Code (5000)

© Server Fault or respective owner

Related posts about ldap

Related posts about authentication